package com.asj.house.client;

import com.asj.house.config.feign.HouseHitsFeignConfig;
import com.asj.house.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author asj
 * @version V1.0.0
 * @description: 访问量统计 feign调用
 * @date 2021/02/25 09:29
 */
@FeignClient(name = "houseHitsFeignClient", url = "${manage.url}", configuration = HouseHitsFeignConfig.class)
public interface HouseHitsClient {

    /**
     * 房源点击量统计
     * @return
     */
    @GetMapping("/house-hits/count")
    RespEntity houseHits();

}
